﻿using System;

namespace Program07
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine(Add(0.5,6));
            Console.WriteLine("0的正弦值为：{0}",Math.Sin(0));
            Console.WriteLine("-2的5次方{0}：",Math.Pow(-2,5));
        }
        public static int Add(int num1,int num2)
        {
            return num1 + num2;
        }
        //方法的重载
        public static double Add(double num1, double num2)
        {
            return num1 + num2;
        }
    }
}
